<?php
class LoginFailedException extends Exception
{
    public function LoginFailedException($msg = null)
    {
        $msg = $msg ? $msg : "Login failed";
        parent::__construct($msg);
    }
}
?>